package controller.enums;

/**
 * Created by 雷霆 on 2016/10/21.
 */
public enum GroupTypeEnum implements KVEnum<String,String> {
    UNION_AUTH("预授权申请","unionAuth"),
    UNION_AUTH_CONFIRM("预授权完成","unionAuthConfirm"),
    UNION_AUTH_CANCEL("预授权申请撤销","unionAuthCancel"),
    UNION_AUTH_CONFIRM_CANCEL("预授权完成撤销","unionAuthConfirmCancel"),
    UNION_SEND_SMS("发送验证短信","unionSendSms"),
    UNION_PAY_BIND("短信消费(1元绑卡消费)","unionSmsPay"),
    UNION_PAYMENT("直接消费","unionQuickPay"),
    UNION_APP_PAY("APP消费","unionAppPay"),
    UNION_WEB_PAY("web消费","unionWebPay"),
    UNION_WAP_PAY("wap消费","unionWapPay"),
    UNION_REFUND("消费退款","unionRefund"),
    UNION_CANCEL("消费撤销","unionPayCancel"),
    UNBIND_CREDIT_CARD("解绑","unbindCreditCard"),
    QUERY_CREDITCARD_BIND("绑卡信息查询","queryCreditcardBind"),
    QUERY_TRADE_FLOW("查询交易流水","query"),
    QUERY_UNION_CARD_INFO("查询卡信息","unionCardInfo");


    private String Key;
    private String value;

    GroupTypeEnum(String key, String value) {
        Key = key;
        this.value = value;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getKey() {
        return Key;
    }


}
